func github.com/gotd/td/telegram/downloader.attrOpt
11 uses
github.com/gotd/td/telegram/downloader (current package)
metrics.go#L97: func attrOpt(kv ...attribute.KeyValue) metric.MeasurementOption {
metrics.go#L148: o.kindAttrs[k] = attrOpt(attribute.String("kind", kind))
metrics.go#L150: o.requestAttrs[k][r] = attrOpt(
metrics.go#L225: o.downloads.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L259: o.hashMismatches.Add(ctx, 1, attrOpt(attribute.String("kind", kind)))
metrics.go#L267: o.refreshes.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L283: o.backoffs.Add(ctx, 1, attrOpt(attribute.String("reason", reason)))
metrics.go#L300: o.verify.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L313: o.retries.Add(ctx, 1, attrOpt(attribute.String("operation", e.Operation)))
metrics.go#L325: o.retriesExhausted.Add(ctx, 1, attrOpt(attribute.String("operation", op)))
metrics.go#L393: opt := attrOpt(attrs...)
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |